package com.sjtu.rental.common;

public class Constant {

	public final static String BACK_REQUEST = "backUrl";

	public final static Integer USER_STATE_UNCONFIRM = 0;
	public final static Integer USER_STATE_CONFIRMED = 1;
	public final static Integer USER_STATE_UNNORMAL = 9;
	
	public final static Integer HOUSE_STATE_UNCONFIRM = 0;	//未审核
	public final static Integer HOUSE_STATE_CONFIRMED = 1;	//已审核
	public final static Integer HOUSE_STATE_PAID = 2;	//已缴费
	public final static Integer HOUSE_STATE_RENTED = 3;	//已出租
	

	public final static int IS_DELETED = 1;
	public final static int IS_NOT_DELETED = 0;

	public enum UserNameType {
		USERNAME(0), RENREN(2), KAIXIN(1);
		private final Integer value;

		public Integer getValue() {
			return value;
		}

		private UserNameType(Integer value) {
			this.value = value;
		}
	}

}
